package com.mhc.haval.dal.query;


import com.subaru.common.query.BaseCriteria;
import com.subaru.common.query.BaseQuery;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public class AuditQuotaQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 1L;

    public AuditQuotaQuery() {
        super();
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        super.oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This class corresponds to the database table ac_audit_quota
     */
         protected abstract static class GeneratedCriteria extends BaseCriteria {

        protected GeneratedCriteria() {
            super();
        }

        public Criteria andQuotaIdIsNull() {
            addCriterion("quota_id is null");
            return (Criteria) this;
        }

        public Criteria andQuotaIdIsNotNull() {
            addCriterion("quota_id is not null");
            return (Criteria) this;
        }

        public Criteria andQuotaIdEqualTo(Long value) {
            addCriterion("quota_id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andQuotaIdNotEqualTo(Long value) {
            addCriterion("quota_id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria anQuotaIdGreaterThan(Long value) {
            addCriterion("quota_id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andQuotaIdGreaterThanOrEqualTo(Long value) {
            addCriterion("quota_id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andQuotaIdLessThan(Long value) {
            addCriterion("quota_id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andQuotaIdLessThanOrEqualTo(Long value) {
            addCriterion("quota_id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andQuotaIdIn(List<Long> values) {
            addCriterion("quota_id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andQuotaIdNotIn(List<Long> values) {
            addCriterion("quota_id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andQuotaIdBetween(Long value1, Long value2) {
            addCriterion("quota_id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andQuotaIdNotBetween(Long value1, Long value2) {
            addCriterion("quota_id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(LocalDate value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(LocalDate value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(LocalDate value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(LocalDate value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(LocalDate value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<LocalDate> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<LocalDate> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(LocalDate value1, LocalDate value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(LocalDate value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(LocalDate value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(LocalDate value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(LocalDate value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(LocalDate value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<LocalDate> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<LocalDate> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(LocalDate value1, LocalDate value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andCompanyNoIsNull() {
            addCriterion("company_no is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNoIsNotNull() {
            addCriterion("company_no is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNoEqualTo(String value) {
            addCriterion("company_no =", value, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoNotEqualTo(String value) {
            addCriterion("company_no <>", value, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoGreaterThan(String value) {
            addCriterion("company_no >", value, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoGreaterThanOrEqualTo(String value) {
            addCriterion("company_no >=", value, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoLessThan(String value) {
            addCriterion("company_no <", value, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoLessThanOrEqualTo(String value) {
            addCriterion("company_no <=", value, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoLike(String value) {
            addCriterion("company_no like", value, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoNotLike(String value) {
            addCriterion("company_no not like", value, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoIn(List<String> values) {
            addCriterion("company_no in", values, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoNotIn(List<String> values) {
            addCriterion("company_no not in", values, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoBetween(String value1, String value2) {
            addCriterion("company_no between", value1, value2, "companyNo");
            return (Criteria) this;
        }

        public Criteria andCompanyNoNotBetween(String value1, String value2) {
            addCriterion("company_no not between", value1, value2, "companyNo");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNull() {
            addCriterion("dept_id is null");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNotNull() {
            addCriterion("dept_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeptIdEqualTo(Long value) {
            addCriterion("dept_id =", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotEqualTo(Long value) {
            addCriterion("dept_id <>", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThan(Long value) {
            addCriterion("dept_id >", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThanOrEqualTo(Long value) {
            addCriterion("dept_id >=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThan(Long value) {
            addCriterion("dept_id <", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThanOrEqualTo(Long value) {
            addCriterion("dept_id <=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLike(Long value) {
            addCriterion("dept_id like", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotLike(Long value) {
            addCriterion("dept_id not like", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdIn(List<Long> values) {
            addCriterion("dept_id in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotIn(List<Long> values) {
            addCriterion("dept_id not in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdBetween(Long value1, Long value2) {
            addCriterion("dept_id between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotBetween(Long value1, Long value2) {
            addCriterion("dept_id not between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptNameIsNull() {
            addCriterion("dept_name is null");
            return (Criteria) this;
        }

        public Criteria andDeptNameIsNotNull() {
            addCriterion("dept_name is not null");
            return (Criteria) this;
        }

        public Criteria andDeptNameEqualTo(String value) {
            addCriterion("dept_name =", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotEqualTo(String value) {
            addCriterion("dept_name <>", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameGreaterThan(String value) {
            addCriterion("dept_name >", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameGreaterThanOrEqualTo(String value) {
            addCriterion("dept_name >=", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameLessThan(String value) {
            addCriterion("dept_name <", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameLessThanOrEqualTo(String value) {
            addCriterion("dept_name <=", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameLike(String value) {
            addCriterion("dept_name like", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotLike(String value) {
            addCriterion("dept_name not like", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameIn(List<String> values) {
            addCriterion("dept_name in", values, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotIn(List<String> values) {
            addCriterion("dept_name not in", values, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameBetween(String value1, String value2) {
            addCriterion("dept_name between", value1, value2, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotBetween(String value1, String value2) {
            addCriterion("dept_name not between", value1, value2, "deptName");
            return (Criteria) this;
        }

        public Criteria andStaffIdIsNull() {
            addCriterion("staff_id is null");
            return (Criteria) this;
        }

        public Criteria andStaffIdIsNotNull() {
            addCriterion("staff_id is not null");
            return (Criteria) this;
        }

        public Criteria andStaffIdEqualTo(Long value) {
            addCriterion("staff_id =", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotEqualTo(Long value) {
            addCriterion("staff_id <>", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdGreaterThan(Long value) {
            addCriterion("staff_id >", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdGreaterThanOrEqualTo(Long value) {
            addCriterion("staff_id >=", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLessThan(Long value) {
            addCriterion("staff_id <", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLessThanOrEqualTo(Long value) {
            addCriterion("staff_id <=", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLike(Long value) {
            addCriterion("staff_id like", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotLike(Long value) {
            addCriterion("staff_id not like", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdIn(List<Long> values) {
            addCriterion("staff_id in", values, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotIn(List<Long> values) {
            addCriterion("staff_id not in", values, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdBetween(Long value1, Long value2) {
            addCriterion("staff_id between", value1, value2, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotBetween(Long value1, Long value2) {
            addCriterion("staff_id not between", value1, value2, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffNameIsNull() {
            addCriterion("staff_name is null");
            return (Criteria) this;
        }

        public Criteria andStaffNameIsNotNull() {
            addCriterion("staff_name is not null");
            return (Criteria) this;
        }

        public Criteria andStaffNameEqualTo(String value) {
            addCriterion("staff_name =", value, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameNotEqualTo(String value) {
            addCriterion("staff_name <>", value, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameGreaterThan(String value) {
            addCriterion("staff_name >", value, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("staff_name >=", value, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameLessThan(String value) {
            addCriterion("staff_name <", value, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameLessThanOrEqualTo(String value) {
            addCriterion("staff_name <=", value, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameLike(String value) {
            addCriterion("staff_name like", value, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameNotLike(String value) {
            addCriterion("staff_name not like", value, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameIn(List<String> values) {
            addCriterion("staff_name in", values, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameNotIn(List<String> values) {
            addCriterion("staff_name not in", values, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameBetween(String value1, String value2) {
            addCriterion("staff_name between", value1, value2, "staffName");
            return (Criteria) this;
        }

        public Criteria andStaffNameNotBetween(String value1, String value2) {
            addCriterion("staff_name not between", value1, value2, "staffName");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeIsNull() {
            addCriterion("quota_type is null");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeIsNotNull() {
            addCriterion("quota_type is not null");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeEqualTo(Integer value) {
            addCriterion("quota_type =", value, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeNotEqualTo(Integer value) {
            addCriterion("quota_type <>", value, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeGreaterThan(Integer value) {
            addCriterion("quota_type >", value, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("quota_type >=", value, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeLessThan(Integer value) {
            addCriterion("quota_type <", value, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeLessThanOrEqualTo(Integer value) {
            addCriterion("quota_type <=", value, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeLike(Integer value) {
            addCriterion("quota_type like", value, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeNotLike(Integer value) {
            addCriterion("quota_type not like", value, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeIn(List<Integer> values) {
            addCriterion("quota_type in", values, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeNotIn(List<Integer> values) {
            addCriterion("quota_type not in", values, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeBetween(Integer value1, Integer value2) {
            addCriterion("quota_type between", value1, value2, "quotaType");
            return (Criteria) this;
        }

        public Criteria andQuotaTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("quota_type not between", value1, value2, "quotaType");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountIsNull() {
            addCriterion("min_quota_amount is null");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountIsNotNull() {
            addCriterion("min_quota_amount is not null");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountEqualTo(java.math.BigDecimal value) {
            addCriterion("min_quota_amount =", value, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountNotEqualTo(java.math.BigDecimal value) {
            addCriterion("min_quota_amount <>", value, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountGreaterThan(java.math.BigDecimal value) {
            addCriterion("min_quota_amount >", value, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountGreaterThanOrEqualTo(java.math.BigDecimal value) {
            addCriterion("min_quota_amount >=", value, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountLessThan(java.math.BigDecimal value) {
            addCriterion("min_quota_amount <", value, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountLessThanOrEqualTo(java.math.BigDecimal value) {
            addCriterion("min_quota_amount <=", value, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountLike(java.math.BigDecimal value) {
            addCriterion("min_quota_amount like", value, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountNotLike(java.math.BigDecimal value) {
            addCriterion("min_quota_amount not like", value, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountIn(List<java.math.BigDecimal> values) {
            addCriterion("min_quota_amount in", values, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountNotIn(List<java.math.BigDecimal> values) {
            addCriterion("min_quota_amount not in", values, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
            addCriterion("min_quota_amount between", value1, value2, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMinQuotaAmountNotBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
            addCriterion("min_quota_amount not between", value1, value2, "minQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountIsNull() {
            addCriterion("max_quota_amount is null");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountIsNotNull() {
            addCriterion("max_quota_amount is not null");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountEqualTo(java.math.BigDecimal value) {
            addCriterion("max_quota_amount =", value, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountNotEqualTo(java.math.BigDecimal value) {
            addCriterion("max_quota_amount <>", value, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountGreaterThan(java.math.BigDecimal value) {
            addCriterion("max_quota_amount >", value, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountGreaterThanOrEqualTo(java.math.BigDecimal value) {
            addCriterion("max_quota_amount >=", value, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountLessThan(java.math.BigDecimal value) {
            addCriterion("max_quota_amount <", value, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountLessThanOrEqualTo(java.math.BigDecimal value) {
            addCriterion("max_quota_amount <=", value, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountLike(java.math.BigDecimal value) {
            addCriterion("max_quota_amount like", value, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountNotLike(java.math.BigDecimal value) {
            addCriterion("max_quota_amount not like", value, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountIn(List<java.math.BigDecimal> values) {
            addCriterion("max_quota_amount in", values, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountNotIn(List<java.math.BigDecimal> values) {
            addCriterion("max_quota_amount not in", values, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
            addCriterion("max_quota_amount between", value1, value2, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andMaxQuotaAmountNotBetween(java.math.BigDecimal value1, java.math.BigDecimal value2) {
            addCriterion("max_quota_amount not between", value1, value2, "maxQuotaAmount");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Integer value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Integer value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Integer value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Integer value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Integer value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLike(Integer value) {
            addCriterion("is_deleted like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotLike(Integer value) {
            addCriterion("is_deleted not like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Integer> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Integer> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Integer value1, Integer value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Integer value1, Integer value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

    }

    /**
     * This class corresponds to the database table ac_audit_quota
    */
    public  static class Criteria extends GeneratedCriteria{
        protected Criteria() {
            super();
        }
    }



    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}